import {
	apiMixUrlApi,
	apiMixUrlApis
} from '@/api/assemb.js'
import {
	vipType,
} from '@/business/login.js';
import store from "../store/idnex.js";

function grayControl() {
	// apiMixUrlApis({}, 1017, 'GrayControl').then(result => {
	// 	let pop = result.membersShowTime.split('|')
	// 	console.log(pop[0],'打印的新数据')
	// 	// console.log(result, '控制时间段')
	// 	if (pop[0] == 21) {
	// 		console.log('走了吗')
	// 		let vipType = {
	// 			vipStatus: 1,
	// 			vipendtime: '您还不是会员'
	// 		};
	// 		uni.setStorageSync('vipType', vipType);
	// 	} else {

	// 		if (uni.getStorageSync('vipType').vipendtime == '您还不是会员') {
	// 			uni.removeStorageSync('vipType')
	// 			console.log('11111')
	// 		}
	// }
	// 	getApp().globalData.Payios = result.iosPay
	// 	if (typeof result.membersShowTime != "undefined") {
	// 		store.commit('setSelectMembersShowTime', result.membersShowTime);
	// 	}
	// });
}

export {
	grayControl
};